package com.zzj.service;

import com.github.pagehelper.PageInfo;
import com.zzj.bean.BuyBean;

import java.util.List;

public interface BuyService {
    PageInfo<BuyBean> selectAllBuy(int pageName,int pageSize,Integer userId);
    boolean updateOneBuy(BuyBean bean);
    boolean insertOneBuy(BuyBean bean,int userId);
    boolean updateBuyStateById(int id);
    boolean  allertDeptName(int bid,int userId);
    boolean  deleteOneBuyStateById(int id);
    PageInfo<BuyBean>  selectAllBuy(String dname,int pageName,int pageSize);


}
